package top.tangyh.lamp.care.vo.save;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description ="手术信息入参类")
public class OperaInfoInVO {

    @NotNull(message = "请输入id" )
    private Long id;

    @NotBlank(message = "请输入识别号")
    @Schema(description = "识别号",requiredMode = Schema.RequiredMode.REQUIRED)
    private String patientIdent;

    @NotBlank(message = "请输入住院号")
    @Schema(description = "住院号",requiredMode = Schema.RequiredMode.REQUIRED)
    private String hospitalNumber;

    @NotBlank(message = "请输入手术名称")
    @Schema(description = "手术名称",requiredMode = Schema.RequiredMode.REQUIRED)
    private String operaName;

    @NotNull(message = "请输入手术时间" )
    @Schema(description = "手术时间",requiredMode = Schema.RequiredMode.REQUIRED)
    private Long operaTime;


}
